package com.yonyou.pmclouds.contacttype.service.rmiitf;

import com.yonyou.pmclouds.basecom.exception.BusinessException;
import com.yonyou.pmclouds.contacttype.entity.ContactTypeVO;

import java.util.List;

public interface ContactTypeRemoteService {

	List<ContactTypeVO> selectByPkGroup(String pk_group);

	ContactTypeVO addContactType(ContactTypeVO contactTypeVO) throws BusinessException;

	String deleteContactType(String pkContactType, String change_flag) throws BusinessException;

	ContactTypeVO updateContactType(ContactTypeVO contactTypeVO) throws BusinessException;
	
	/**
	 * 根据主键查询联系类型
	 * 
	 * @param pk_contypes
	 * @return
	 */
	List<ContactTypeVO> queryConTypesByPK(String[] pk_contypes);
}
